* {
    /* font-family: "微软雅黑 Light"; */
    font-family: "PingFangSC-Regular";
}

body {
    margin: 0;
    padding: 0;
}

body::-webkit-scrollbar {
    display: none
}

#containter {
    display: flex;
    justify-content: space-between;
    height: 100vh;
    overflow: hidden;
}

#containter::-webkit-scrollbar {
    display: none;
}

.cate-name {
    font-weight: bold;
    color: #999;
}

.active-name {
    background: #00B8C0;
    color: #fff;
}



#cate-modal {
    width: 100%;
    display: none;
    height: 100vh;
    overflow-y: auto;
    position: fixed;
    z-index: 999;
    background: #fff;

    ul {
        margin: 0;

        ul {
            margin: 0;
            // padding: 0;
            padding-left: 15px;
        }

        // padding: 0;
        padding-left: 15px;
    }

    li {
        list-style: none;
        line-height: 35px;
        font-size: 14px;
        cursor: pointer;
        padding-left: 10px
    }

    .close-btn {
        position: absolute;
        top: 10px;
        right: 15px;
        color: #00B8C0;
        cursor: pointer;
    }
}

#nav {
    width: 20%;
    overflow-y: auto;
    background: #ededed;

    ul {
        margin: 0;
        // padding: 0;
        padding-left: 15px;
    }

    li {
        list-style: none;
        line-height: 35px;
        font-size: 14px;
        cursor: pointer;
        padding-left: 10px
    }

}

#header {
    height: 60px;
    width: 80%;
    position: fixed;
    background: #eee;
    right: 0;
    top: 0;
}

#content {
    flex: 1;
    overflow-y: auto;
    padding: 60px 20px 20px 20px;
    // padding-top: 60px;

    img {
        max-width: 100%;
    }

    blockquote {
        p {
            position: relative;
            color: #999;
            font-weight: bolder;

            &::before {
                content: '';
                position: absolute;
                width: 3px;
                height: 100%;
                left: -10px;
                background: #155E63;
            }
        }
    }
}

.icon-menu {
    color: #000;
    line-height: 60px;
    margin-left: 25px;
    cursor: pointer;
    font-size: 28px !important;
}

.icon-github {
    color: #000;
    position: fixed;
    top: 10px;
    right: 10px;
    font-size: 36px !important;
    -webkit-animation: rotate 3s linear infinite;
}

@-webkit-keyframes rotate {

    0% {
        -webkit-transform: rotate(0deg);
    }

    25% {
        -webkit-transform: rotate(90deg);
    }

    50% {
        -webkit-transform: rotate(180deg);
    }

    75% {
        -webkit-transform: rotate(270deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }

}

#outline {
    width: 18%;
    flex: 0 0 1
}

#footer {
    height: 80px;
    width: 80%;
    position: fixed;
    bottom: 0;
    background: #eee;
}

.scroll::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    background: #666;
}

.scroll::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    background: #EDEDED;
}

.scroll::-webkit-scrollbar {
    /*display: none*/
    width: 5px;
    /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
    /* 隐藏滚动条，但依旧具备可以滚动的功能 */
}

code {
    border-radius: 8px;
    padding: 15px !important;

    span {
        line-height: 35px;
    }
}

table {
    border: solid #ccc 1px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border-collapse: collapse;
    /*-webkit-box-shadow: 0 1px 1px #ccc;
    -moz-box-shadow: 0 1px 1px #ccc;
    box-shadow: 0 1px 1px #ccc;   */
}

table tr:hover {
    background: #fbf8e9;
    -o-transition: all 0.1s ease-in-out;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}

table td,
.table th {
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

table th {
    background-color: #00B8C0;
    border-top: none;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
    padding: 5px;
}

table td:first-child,
table th:first-child {
    border-left: none;
}

table th:first-child {
    -moz-border-radius: 6px 0 0 0;
    -webkit-border-radius: 6px 0 0 0;
    border-radius: 6px 0 0 0;
}

table th:last-child {
    -moz-border-radius: 0 6px 0 0;
    -webkit-border-radius: 0 6px 0 0;
    border-radius: 0 6px 0 0;
}

table th:only-child {
    -moz-border-radius: 6px 6px 0 0;
    -webkit-border-radius: 6px 6px 0 0;
    border-radius: 6px 6px 0 0;
}

table tr:last-child td:first-child {
    -moz-border-radius: 0 0 0 6px;
    -webkit-border-radius: 0 0 0 6px;
    border-radius: 0 0 0 6px;
}

table tr:last-child td:last-child {
    -moz-border-radius: 0 0 6px 0;
    -webkit-border-radius: 0 0 6px 0;
    border-radius: 0 0 6px 0;
}